package org.lwd.datalink.domain.enent;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.lwd.datalink.event.CallbackEvent;
import org.lwd.datalink.utils.FutureCallback;
/**
 * @Author: weidong.lin
 */
@Getter
@Setter
@ToString
public class EsColumnSyncEvent extends CallbackEvent {
    private Long mediaSourceId;
    private String sql;
    private Long mappingId;

    public EsColumnSyncEvent(FutureCallback callback, Long mediaSourceId, Long mappingId, String sql) {
        super(callback);
        this.mediaSourceId = mediaSourceId;
        this.sql = sql;
        this.mappingId = mappingId;
    }

}
